@import "@/base.scss";
@import "~@@/app_style";

.index {
  height: calc(100vh);
  display: flex;
  flex-direction: column;
  background: #f8f8f8;

  .main {
    width: 100vw;
    flex-grow: 1;
    overflow: auto;
    // background: #FFFFFF;
    position: relative;
    z-index: 999;

    .top {
      width: 100vw;
      height: 400px;
      // background: url(https://leconglive-wxapp-1301839528.file.myqcloud.com/wxIcon/sy.png) no-repeat center center;
      background: url($url + "/index_black.png") no-repeat center center;
      background-size: cover;
    }

    .content {
      width: 690px;
      height: 648px;
      background-color: #ffffff;
      box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.1);
      opacity: 1;
      border-radius: 10px;
      margin: 0 auto 30px;
      position: relative;
      top: -50px;
      left: 0;
      z-index: 999 !important;

      .test-h {
        height: 640px;
        z-index: 100;
      }

      .content_item {
        height: 250px;
        z-index: 100;
      }

      .box1-top {
        margin-top: 40px;
        text-align: center;
        .title {
          font-size: 42px;
          font-family: PingFang SC;
          font-weight: bold;
          line-height: 40px;
          // color: #D20202;
          color: $black_color;
        }
      }

      .box1-ct {
        width: 429px;
        height: 300px;
        margin: 30px auto;
        .box1-img {
          width: 100%;
          height: 100%;
        }
      }

      .ct {
        font-size: 42px;
        font-family: PingFang SC;
        font-weight: 400;
        color: #333333;
        text-align: center;
        opacity: 1;
      }
      .describe {
        font-size: 28px;
        font-family: PingFang SC;
        font-weight: 300;
        color: #999999;
        text-align: center;
        margin-top: 10px;
        opacity: 1;
      }
    }

    .box2 {
      width: 690px;
      height: 255px;
      background: #ffffff;
      box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.1);
      opacity: 1;
      border-radius: 10px;
      margin: -45px auto 0;
      padding-top: 30px;

      .text {
        font-size: 32px;
        font-family: PingFang SC;
        font-weight: bold;
        color: #333333;
        opacity: 1;
        margin-left: 30px;
      }

      .box2_item {
        height: 180px;
        padding-left: 30px;
        padding-top: 20px;
        overflow-x: auto;
        display: -webkit-box;
        -webkit-overflow-scrolling: touch;

        ul::-webkit-scrollbar {
          display: none;
        }

        .box2_ct {
          width: 180px;
          height: 100%;
        }

        .box {
          width: 180px;
          height: 180px;
          .ct_img {
            width: 180px;
            height: 100px;
            padding-right: 20px;
            border-radius: 5px;

            .img {
              width: 100%;
              height: 100%;
              border-radius: 5px;
            }
          }

          .text1 {
            width: 168px;
            height: 57px;
            font-size: 24px;
            font-family: PingFang SC;
            font-weight: 300;
            color: #333333;
            margin: 10px auto 0;
            line-height: 28px;
            opacity: 1;
            overflow: hidden; //超出的文本隐藏
            text-overflow: ellipsis; //溢出用省略号显示
            white-space: wrap; //溢出不换行
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }
        }
      }
    }

    .bt {
      width: 400px;
      height: 80px;
      // background: linear-gradient(140deg, #ed3333 0%, #d20202 100%);
      background: $main_color;
      box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      position: fixed;
      left: 0;
      right: 0;
      margin: 0 auto;
      bottom: 30px;

      .bt-box {
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;

        .text2 {
          font-size: 32px;
          font-family: PingFang SC;
          font-weight: 300;
          color: #ffffff;
        }

        .playImg {
          width: 26px;
          height: 30px;
          padding-left: 20px;
        }
      }
    }
  }
}
